package com.j180.controller;

import Bean.ClassBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/classes")
public class ClassController {


    @PostMapping("/add")
    public ClassBean addCLass(ClassBean classBean){

        System.out.println(classBean);

        return classBean;

    }
}
